index.js ➔ ... ➔ ???   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 0 Features 0
Metric Value
cc 1
c 3
b 0
f 0
nc 1
dl 0
loc 3
rs 10
nop 0
1
import {
2
	compose,
3
	toMiddleware,
4
	addMeta,
5
	tagService,
6
	enhancedRender,
7
	createEnhancer,
8
	isPromise,
9
} from '../index';
10
11
describe('n-express-enhancer exports', () => {
12
	it('compose', () => {
13
		expect(typeof compose).toBe('function');
14
	});
15
16
	it('toMiddleware', () => {
17
		expect(typeof toMiddleware).toBe('function');
18
	});
19
20
	it('addMeta', () => {
21
		expect(typeof addMeta).toBe('function');
22
	});
23
24
	it('tagService', () => {
25
		expect(typeof tagService).toBe('function');
26
	});
27
28
	it('enhancedRender', () => {
29
		expect(typeof enhancedRender).toBe('function');
30
	});
31
32
	it('createEnhancer', () => {
33
		expect(typeof createEnhancer).toBe('function');
34
	});
35
36
	it('isPromise', () => {
37
		expect(typeof isPromise).toBe('function');
38
	});
39
});
40